<!-- 教师简介 -->
<template>
<div>
    <group gutter="0">
        <img src="../assets/teacher2.png" alt="" style="width:100%" >
        <cell v-for="item in teacher_info" :title="item.title"  :key="item.id" @click.native="handleClick(item.id)" ></cell>
    </group>
</div>
</template>
<script>
    export default {
        data() {
            return {
                teacher_info: [],
            };
        },
        methods: {
            handleClick(id) {
                this.$router.push({ name: "teacher_info_detail", params: { id: id } });
            }
        },
        created() {
            this.ajax.post("all_in_one/list", {fid:6}).then( res => {
                this.teacher_info = res.data.data;
            });
        }
        
    };
</script>

<style scoped>

</style>